/**
 * paging.css 
 * 分页样式，主要存放 EYUI 分页样式；
 * 
 * dependencies：
 * @require ../base.css
 * @require ../unit/button.css
 * 
 * modified by Oscar at 2017/04/27 09:51.
 * 
 */

@import "../components/_base.scss";

.navigation {
    text-align: center;
}

.pagination {
    margin: 0;
    vertical-align: middle;
    *display: inline;
    *zoom: 1;
}

/*== 默认 ==*/
.pagination,
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-radius: 0;
}

.pagination > li > a,
.pagination > li > span {
    color: $PrimaryColor;
    margin-left: 6px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: $PrimaryColor;
    background-color: $SecondaryColor;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: auto;
    background-color: $PrimaryColor;
    color: $WhiteColor;
    border-color: $PrimaryColor;
}

.pagination-detail,
.page-list input {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.pagination-detail {
    line-height: 0;
    margin-left: 30px;
    vertical-align: middle;
    color: $FontColor1;
}

.pagination-detail span {
    display: inline-block;
    vertical-align: middle;
    line-height: 34px;
}

.page-list input,
.page-list .u_page_go {
    vertical-align: 0;
    *vertical-align: middle;
    font-size: 14px;
}

.page-list input {
    width: 40px;
    text-align: center;
    line-height: 30px;
    padding-top: 0;
    padding-bottom: 0;
}

.page-list .u_page_go {
    margin-left: 5px;
    height: auto;
    line-height: 18px;
    *height: 30px;
    *line-height: 24px;
    *padding: 1px 3px;
}

/* 兼容IE7 */
.pager {
    *zoom: 1;
}

.pager:after {
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    content: ".";
}
